package com.cn.hotel.service;

import com.cn.hotel.model.FacilitiesModel;

import java.util.List;

public interface IFacilitiesService {
    List<FacilitiesModel> findAll(FacilitiesModel facilitiesModel);

    int getNumber(FacilitiesModel facilitiesModel);

    int add(FacilitiesModel facilitiesModel);

    FacilitiesModel findById(Integer temp);

    int edit(FacilitiesModel facilitiesModel);

    int delete(Integer temp);
//------------------------前端数据获取代码-----------------------------
    List<FacilitiesModel> getFacilitiesModel(Integer pageNumber);

    List<FacilitiesModel> getDetails(Integer temp);

    int getCount();
}
